import React, { Component } from 'react'
import { NavLink} from 'react-router-dom';
export default class Nav extends Component {
    render() {
        return (
            <div className="nav">
            <NavLink to="/recommend"><span>推荐</span></NavLink> 
            <NavLink to="/singer"><span>歌手</span></NavLink>          
            <NavLink to="/rank"><span>排行榜</span></NavLink>   
          </div>
        )
    }
}
